package com.bawan.vims.dao;

import java.io.Serializable;
import java.util.List;


/**
 * <p> Description	: IBaseDao.java </p>
 * <p> Copyright	: Copyright (c) 2015 by FITT</p>
 * <p> Author 		: ZCC </p>
 * <p> Create		: 2015-01-30 09:21:57 </p> 
 * <p> version 		: 1.0 </p>
 */
public interface IBaseDao<T extends Serializable> {
	List<T> findAll();
	
	T findById(Serializable id);
	
	boolean save(T entity);
	
	boolean update(T entity);
	
	boolean delete(T entity);
	
	boolean deleteById(Serializable id);
}
